package com.yixinsoft.basic.mapper.manage.system;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yixinsoft.basic.mapper.base.MyMapper;
import com.yixinsoft.basic.model.manage.system.Organization;

/**
 * Created by hqy on 2016/06/05
 */
public interface OrganizationMapper extends MyMapper<Organization> {

	public void move(@Param("targetIds")String targetIds, @Param("sourceIds")String sourceIds);
	
	public List<Organization> findAllWithExclude(@Param("id")Long id, @Param("parentIds")String parentIds);
	
	public void deleteByParentIds(@Param("parentIds")String parentIds);
	
}